<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="ssi.beans.Message"%>
<%    
	Message message= Message.getMessage(Integer.parseInt(request.getParameter("id")));
%>

			<h2><%=message.getTitle() %></h2>

			<p><%=message.getText() %></p>
			<p class="right">Wyslano do: <br><%=message.getReceiver()[0]+" "+message.getReceiver()[1] %></p>
		
<br />
	<a class='more2' href="/SSIProject/index.jsp?page=messages">Wróć do skrzynki</a>
	